package com.question.java.jvm.test4;

import java.util.Map;

/**
 * @Description:
 * @Author: Jun Yang
 * @Time: 2018/9/14 下午7:21
 * @Version: 1.0
 */
public class Main4 {
    public static void main(String[] args) {
        Map<Thread, StackTraceElement[]> maps = Thread.getAllStackTraces();

        maps.forEach((k, v) -> System.out.println(k + ": " + v));
    }
}
